﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using PlatformNetCore.Entity;
using PlatformNetCore.Entity.Models;

namespace PlatformNetCore.IService
{
    public interface ISinglePageService
    {
        #region SinglePage
        LayPager<SinglePage> GetSinglePagePagedList(int pageIndex, int pageSize, Expression<Func<SinglePage, bool>> predicate);
        ResultResponse<SinglePage> GetSinglePage(string id);
        ResultResponse AddSinglePage(SinglePage model);
        ResultResponse UpdateSinglePage(SinglePage model);
        ResultResponse UpdateSinglePageState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
